package com.huangliusong.aspectJ.demo1;

public class ProductDao {
    public void save(){
        System.out.println("保存商品");
    }

    public void findOne(){
        System.out.println("查询一个商品");
       //int s= 1/0;
    }
    public void findAll(){

        System.out.println("查询所有商品");
       //int s= 1/0; int s= 1/0;
    }
    public void delete(){
        System.out.println("删除商品");
    }

    public String update(){
        System.out.println("修改商品");
        return "success";
    }
}
